/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Gleydson
 */
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package persistencia;

/**
 *
 * @author Gleydson
 */

import java.util.Collection;

/**
 *
 * @author Gleydson
 */

public interface Repositorio<T>{
    public abstract T insert(T entity);
    public abstract T getById(Object id);
    public abstract void delete(T entity);
    public abstract void update(T entity);
    public abstract Collection<T> getAll();
}
